package com.jingdianjichi.subject.application.comvert;


import com.jingdianjichi.subject.application.dto.SubjectInfoDTO;

import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * 标签dto的转换
 */
@Mapper
public interface SubjectInfoDTOConverter {
    SubjectInfoDTOConverter INSTANCE=Mappers.getMapper(SubjectInfoDTOConverter.class);
    SubjectInfoBO convertDtoToInfoBO(SubjectInfoDTO subjectInfoDTO);
    SubjectInfoDTO convertBOToInfoDTO(SubjectInfoBO subjectInfoBO);
    List<SubjectInfoDTO> convertBOToInfoListDTO(List<SubjectInfoBO> subjectInfoBOList);
}
